#include "genosage.h"

#include "../sagevis.h"
#include "../VisBaseClasses/visbasewidget.h"

//GenoSage class right now just stores pointers to visBaseWidgets.  Eventually will do more to manage these widgets.

GenoSage::GenoSage(SageVis *parent) :
    QGraphicsWidget(parent)
{
    sageVisParent = parent;
}

void GenoSage::addWidget( QPointer<VisBaseWidget> newWidget )
{
    genoSageWidgets << newWidget; //add the widget to the list of GenoSage managed widgets
}
